var mongoose = require("mongoose");
var { connect } = require("../config");

mongoose.connect(connect);
mongoose.connection.on("open", () => {
    console.log("数据库连接成功");
});
